<html>
<head><meta charset="utf-8"><title>extending match · t-compiler/const-eval · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/index.html">t-compiler/const-eval</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/extending.20match.html">extending match</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="158989627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/extending%20match/near/158989627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/extending.20match.html#158989627">(Feb 20 2019 at 16:17)</a>:</h4>
<p>A half-baked idea and question: Could const evaluation be used to extend pattern matching / destructuring?</p>



<a name="158989885"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/extending%20match/near/158989885" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/extending.20match.html#158989885">(Feb 20 2019 at 16:20)</a>:</h4>
<p>yes, this is tracked in <a href="https://github.com/rust-lang/rust/issues/57240" target="_blank" title="https://github.com/rust-lang/rust/issues/57240">https://github.com/rust-lang/rust/issues/57240</a></p>



<a name="158991632"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/extending%20match/near/158991632" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/extending.20match.html#158991632">(Feb 20 2019 at 16:44)</a>:</h4>
<p>Yay, I'm not completely making up ideas!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>